/**
 * 
 */
package com.taobao.wolfwolf.hibernate.service.impl;

import java.util.List;

import com.taobao.wolfwolf.hibernate.dao.HistoryDao;
import com.taobao.wolfwolf.hibernate.pojo.History;
import com.taobao.wolfwolf.hibernate.service.HistoryService;

/**
 * @author Tux
 *
 * 创建时间: 2011-5-20 上午11:59:41
 */
public class HistoryServiceImpl implements HistoryService {
	private HistoryDao hdao;

	public List<History> findAll() {
		return hdao.findAll();
	}

	public void save(History history) {
		hdao.save(history);
	}

	public void setHdao(HistoryDao hdao) {
		this.hdao = hdao;
	}

	public HistoryDao getHdao() {
		return hdao;
	}

	public List<History> findByName(String name) {
		return hdao.findByName(name);
	}
}
